home *** CD-ROM | disk | FTP | other *** search
/ Micom Basic 1995 October / CD [BM9510].bin / programs / lotus / lotus001.dsk / MACROS / FLWORG.SMM < prev    next >
Encoding:
INI File  |  1994-08-11  |  33.7 KB  |  2,007 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     jmacro.sty
  5. [files]
  6. [charset]
  7.     82
  8.     SHIFTJIS (Windows)
  9. [revisions]
  10.     0
  11. [prn]
  12.     Apple LaserWriter Plus
  13. [port]
  14.     LPT1:
  15. [lang]
  16.     1
  17. [fldnames]
  18.     ╠¿░┘─▐1
  19.     ╠¿░┘─▐2
  20.     ╠¿░┘─▐3
  21.     ╠¿░┘─▐4
  22.     ╠¿░┘─▐5
  23.     ╠¿░┘─▐6
  24.     ╠¿░┘─▐7
  25.     ╠¿░┘─▐8
  26. [desc]
  27.     ╠╪░╫▌╜é╠ægÉDÉ}é≡▒╨╠▀█ò╢ÅæÆåé╔ì∞ɼ
  28.     
  29.     
  30.     
  31.     
  32.     775427565
  33.     56
  34.     731818190
  35.     1965
  36.     7
  37.     0
  38.     0
  39.     0
  40.     0
  41.     
  42.     
  43.     
  44.     
  45.     
  46.     
  47.     1
  48. [fopts]
  49.     0
  50.     1
  51.     0
  52.     0
  53. [lnopts]
  54.     3
  55.     Body Text
  56.     1
  57. [docopts]
  58.     5
  59.     2
  60. [GramStyle]
  61.     
  62. [ParaNum]
  63.     1
  64. [tag]
  65.     Body Text
  66.     2
  67.     [fnt]
  68.         Times New Roman
  69.         200
  70.         0
  71.         16384
  72.     [algn]
  73.         1
  74.         1
  75.         216
  76.         0
  77.         0
  78.     [spc]
  79.         33
  80.         273
  81.         1
  82.         0
  83.         0
  84.         1
  85.         100
  86.     [brk]
  87.         4
  88.     [line]
  89.         8
  90.         0
  91.         1
  92.         0
  93.         1
  94.         1
  95.         1
  96.         10
  97.         10
  98.         1
  99.     [spec]
  100.         0
  101.         0
  102.         
  103.         0
  104.         1
  105.         1
  106.         0
  107.         16
  108.         0
  109.         1
  110.     [nfmt]
  111.         272
  112.         1
  113.         3
  114.         .
  115.         ,
  116.         $
  117.     Body Text
  118.     0
  119.     0
  120. [tag]
  121.     Body Single
  122.     3
  123.     [fnt]
  124.         Times New Roman
  125.         240
  126.         0
  127.         49152
  128.     [algn]
  129.         1
  130.         1
  131.         0
  132.         0
  133.         0
  134.     [spc]
  135.         33
  136.         273
  137.         1
  138.         0
  139.         0
  140.         1
  141.         100
  142.     [brk]
  143.         4
  144.     [line]
  145.         8
  146.         0
  147.         1
  148.         0
  149.         1
  150.         1
  151.         1
  152.         10
  153.         10
  154.         1
  155.     [spec]
  156.         0
  157.         0
  158.         
  159.         0
  160.         1
  161.         1
  162.         0
  163.         0
  164.         0
  165.         1
  166.     [nfmt]
  167.         280
  168.         1
  169.         2
  170.         .
  171.         ,
  172.         $
  173.     Body Single
  174.     0
  175.     0
  176. [tag]
  177.     Function
  178.     4
  179.     [fnt]
  180.         Times New Roman
  181.         240
  182.         0
  183.         16385
  184.     [algn]
  185.         1
  186.         1
  187.         0
  188.         0
  189.         0
  190.     [spc]
  191.         33
  192.         244
  193.         1
  194.         0
  195.         0
  196.         1
  197.         100
  198.     [brk]
  199.         68
  200.     [line]
  201.         8
  202.         0
  203.         1
  204.         0
  205.         1
  206.         1
  207.         1
  208.         10
  209.         10
  210.         1
  211.     [spec]
  212.         0
  213.         1
  214.         
  215.         0
  216.         1
  217.         1
  218.         0
  219.         0
  220.         0
  221.         1
  222.     [nfmt]
  223.         272
  224.         1
  225.         3
  226.         .
  227.         ,
  228.         $
  229.     Body Text
  230.     0
  231.     0
  232. [tag]
  233.     Outline2
  234.     5
  235.     [fnt]
  236.         Times New Roman
  237.         200
  238.         0
  239.         49152
  240.     [algn]
  241.         1
  242.         1
  243.         216
  244.         0
  245.         0
  246.     [spc]
  247.         33
  248.         273
  249.         1
  250.         0
  251.         0
  252.         1
  253.         100
  254.     [brk]
  255.         4
  256.     [line]
  257.         8
  258.         0
  259.         1
  260.         0
  261.         1
  262.         1
  263.         1
  264.         10
  265.         10
  266.         1
  267.     [spec]
  268.         0
  269.         2
  270.         
  271.         0
  272.         1
  273.         1
  274.         0
  275.         16
  276.         0
  277.         1
  278.     [nfmt]
  279.         272
  280.         1
  281.         3
  282.         .
  283.         ,
  284.         $
  285.     Outline2
  286.     0
  287.     0
  288. [tag]
  289.     Outline3
  290.     6
  291.     [fnt]
  292.         Times New Roman
  293.         200
  294.         0
  295.         49152
  296.     [algn]
  297.         1
  298.         1
  299.         216
  300.         0
  301.         0
  302.     [spc]
  303.         33
  304.         273
  305.         1
  306.         0
  307.         0
  308.         1
  309.         100
  310.     [brk]
  311.         4
  312.     [line]
  313.         8
  314.         0
  315.         1
  316.         0
  317.         1
  318.         1
  319.         1
  320.         10
  321.         10
  322.         1
  323.     [spec]
  324.         0
  325.         3
  326.         
  327.         0
  328.         1
  329.         1
  330.         0
  331.         16
  332.         0
  333.         1
  334.     [nfmt]
  335.         272
  336.         1
  337.         3
  338.         .
  339.         ,
  340.         $
  341.     Outline3
  342.     0
  343.     0
  344. [tag]
  345.     Outline4
  346.     7
  347.     [fnt]
  348.         Times New Roman
  349.         200
  350.         0
  351.         49152
  352.     [algn]
  353.         1
  354.         1
  355.         216
  356.         0
  357.         0
  358.     [spc]
  359.         33
  360.         273
  361.         1
  362.         0
  363.         0
  364.         1
  365.         100
  366.     [brk]
  367.         4
  368.     [line]
  369.         8
  370.         0
  371.         1
  372.         0
  373.         1
  374.         1
  375.         1
  376.         10
  377.         10
  378.         1
  379.     [spec]
  380.         0
  381.         4
  382.         
  383.         0
  384.         1
  385.         1
  386.         0
  387.         16
  388.         0
  389.         1
  390.     [nfmt]
  391.         272
  392.         1
  393.         3
  394.         .
  395.         ,
  396.         $
  397.     Outline4
  398.     0
  399.     0
  400. [tag]
  401.     Outline5
  402.     8
  403.     [fnt]
  404.         Times New Roman
  405.         200
  406.         0
  407.         16384
  408.     [algn]
  409.         1
  410.         1
  411.         216
  412.         0
  413.         0
  414.     [spc]
  415.         33
  416.         273
  417.         1
  418.         0
  419.         0
  420.         1
  421.         100
  422.     [brk]
  423.         4
  424.     [line]
  425.         8
  426.         0
  427.         1
  428.         0
  429.         1
  430.         1
  431.         1
  432.         10
  433.         10
  434.         1
  435.     [spec]
  436.         0
  437.         5
  438.         
  439.         0
  440.         1
  441.         1
  442.         0
  443.         16
  444.         0
  445.         1
  446.     [nfmt]
  447.         272
  448.         1
  449.         3
  450.         .
  451.         ,
  452.         $
  453.     Outline5
  454.     0
  455.     0
  456. [l1]
  457.     0
  458. [pg]
  459.     3
  460.     55 0 51 0 0 1 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  461.     108 0 57 0 0 1 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  462.     166 0 46 0 0 1 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  463. [edoc]
  464. @Function@<:#284,9071>'declares & defines
  465.  
  466. @Outline2@'string defines, to be localized
  467.  
  468. @Outline3@<:f200,2Times New Roman,255,0,0>define MyAppName    "Ami Pro Org Chart"
  469.  
  470. @Outline3@<:f200,2Times New Roman,255,0,0>define apptitle        <:f><:f200,2Times New Roman,255,0,0>"<:f200,1û╛Æ⌐,255,0,0>âìü[â^âX 
  471. âtâèü[âëâôâX<:f><:f200,2Times New Roman,255,0,0>"<:f>
  472.  
  473. @Outline3@<:f200,2Times New Roman,255,0,0>define err_cantfindapp        <:f><:f200,2Times New Roman,255,0,0>"<:f><:f200,1û╛Æ⌐,255,0,0>╠╪░╫▌╜é¬î⌐é┬é⌐éΦé▄é╣é±üB<:f200,2Times New Roman,255,0,0>"<:f>
  474.  
  475. @Outline3@<:f200,2Times New Roman,255,0,0>define e<:f200,2Times New Roman,255,0,0>rr_cantlaunchapp    <:f><:f200,2Times New Roman,255,0,0>"<:f><:f200,1û╛Æ⌐,255,0,0>╠╪░╫▌╜é≡ïNô«é┼é½é▄é╣é±üB<:f200,2Times New Roman,255,0,0>"<:f>
  476.  
  477. @Outline3@<:f200,2Times New Roman,255,0,0>define err_cantuseframe    <:f><:f200,2Times New Roman,255,0,0>"<:f><:f200,1û╛Æ⌐,255,0,0>ægÉDÉ}é┼é═üA<:f><:f200,1û╛Æ⌐,255,0,0>é▒é╠ÿgé≡<:f><:f200,1û╛Æ⌐,255,0,0>Ägéªé▄é╣é±üB<:f200,2Times New Roman,255,0,0>"<:f>
  478.  
  479. @Outline3@<:f200,2Times New Roman,255,0,0>define err_cantusearea<:f><:f200,2Times New Roman,255,0,0>        <:f><:f200,2Times New Roman,255,0,0>"<:f><:f200,1û╛Æ⌐,255,0,0>ægÉDÉ}é┼é═üAé▒é╠ö═ê═é≡Ägéªé▄é╣é±üB<:f200,2Times New Roman,255,0,0>"<:f>
  480.  
  481. @Outline3@<:f200,2Times New Roman,255,0,0>define err_couldntrunorgchart    <:f><:f200,2Times New Roman,255,0,0>"<:f><:f200,1û╛Æ⌐,255,0,0>╠╪░╫▌╜é≡ïNô«é┼é½é╚éóé╜é▀üAægÉDÉ}é≡ì∞ɼé┼é½é▄é╣é±üB<:f200,2Times New Roman,255,0,0>"<:f>
  482.  
  483. @Outline3@<:f200,2Times New Roman,255,0,0>define FLW_WINDOWMENU    <:f><:f200,2Times New Roman,255,0,0>"<:f200,1û╛Æ⌐,255,0,0>│▓<:f><:f200,1û╛Æ⌐,255,0,0>▌─▐│(&W)<:f><:f200,2Times New Roman,255,0,0>"
  484.  
  485. @Outline3@<:f200,2Times New Roman,255,0,0>define usrctrl_cantpastespecial    <:f><:f200,2Times New Roman,255,0,0>"<:f><:f200,1û╛Æ⌐,255,0,0>ô\éΦòté»é┼é½é▄é╣é±üBò╢Åæé╠û{ò╢é≡╕╪»╕é╡é─é¡é╛é│éóüB<:f><:f200,2Times New Roman,255,0,0>"<:f>
  486.  
  487. @Outline3@<:f200,2Times New Roman,255,0,0>define OrgCh<:f200,2Times New Roman,255,0,0>artEntryDlgText    <:f><:f200,2Times New Roman,255,0,0>"<:f><:f200,1û╛Æ⌐,255,0,0>ægÉDÉ}é╠ò╥ÅW<:f200,2Times New Roman,255,0,0>"<:f>
  488.  
  489. @Outline3@<:f200,2Times New Roman,255,0,0>define OrgChartGalleryDlgText    <:f><:f200,2Times New Roman,255,0,0>"<:f><:f200,1û╛Æ⌐,255,0,0>ægÉDÉ}é╠╖▐¼╫╪░<:f200,2Times New Roman,255,0,0>"<:f>
  490.  
  491. @Outline3@<:f200,2Times New Roman,255,0,0>define DLG_GALLERY<:f>        <:f200,1û╛Æ⌐,255,0,0>"╖▐¼╫╪░"
  492.  
  493. @Outline3@<:f200,2Times New Roman,255,0,0>define DLG_CREATE    <:f,2Times New Roman,>    <:f200,1û╛Æ⌐,255,0,0>"ægÉDÉ}é╠ì∞ɼ"
  494.  
  495. @Outline3@<:f200,2Times New Roman,255,0,0>define DLG_STYLE<:f,2Times New Roman,>        <:f200,1û╛Æ⌐,255,0,0>"ægÉDÉ}é╠╜└▓┘<:f><:f200,1û╛Æ⌐,255,0,0>"
  496.  
  497. @Outline2@'string defines, not localized
  498.  
  499. @Outline3@Define LotusPal    "lsphwndpal"
  500.  
  501. @Outline3@define appclass    "flwapp"
  502.  
  503. @Outline3@define appmodule    "FLWMAIN"
  504.  
  505. @Outline3@define appname    "FLW"
  506.  
  507. @Outline3@define ERR_DIECLEANLY    -2
  508.  
  509. @Outline3@define FILE_ALREADYOPEN    1
  510.  
  511. @Outline3@define FILE_NOTOPEN        -1
  512.  
  513. @Outline3@define LotusAppSection    "Lotus Applications"
  514.  
  515. @Outline3@define LotusIniFile    "lotus.ini"
  516.  
  517. @Outline3@define orgfilename    "ONEORG.PRE"
  518.  
  519. @Outline3@define pasteformat    <:f200,2Times New Roman,0,0,0>"Windows <:f200,1û╛Æ⌐,0,0,0>╥└<:f200,2Times New Roman,0,0,0>"<:f>    '"Windows Metafile"
  520.  
  521. @Outline3@define salesmsgsmm    lotuspal.smm!salesmsg
  522.  
  523. @Outline2@'private functions
  524.  
  525. @Outline3@declare box2(hdlg, id, val)
  526.  
  527. @Outline3@declare done()
  528.  
  529. @Outline3@declare freeglobals()
  530.  
  531. @Outline3@declare GetChildHandle(parentclass, childclass);
  532.  
  533. @Outline3@declare h_LoadLotusApp(Name, Module);
  534.  
  535. @Outline3@declare hideami(rect)
  536.  
  537. @Outline3@declare insertdata(hdlg, id, val)
  538.  
  539. @Outline3@declare modframe()
  540.  
  541. @Outline3@declare MyPostMessage(hwnd, msg, wparam, lparam)    'DllCall("User,PostMessage,HHHHJ",%1,%2,%3,%4)
  542.  
  543. @Outline3@declare newnow()
  544.  
  545. @Outline3@declare onmenu(menu, item, casc)
  546.  
  547. @Outline3@declare openfile()
  548.  
  549. @Outline3@declare PeekTillClear(hwnd)
  550.  
  551. @Outline3@declare setpagelayout()
  552.  
  553. @Outline3@declare showami(rect)
  554.  
  555. @Outline3@declare winproc(hdlg, id, val)
  556.  
  557. @Outline3@define IsOKToRun(menuname)    GetInfo(217, 24, %1);
  558.  
  559. @Outline3@define MsgBox(msgtext)    Message(%1, myappname)
  560.  
  561. @Outline2@'api call defines
  562.  
  563. @Outline3@Define EnableWindow() DllCall("user,EnableWindow,HHH", %1, %2)
  564.  
  565. @Outline3@Define FindWindow() DllCall("user,FindWindow,HCC", %1, %2)
  566.  
  567. @Outline3@Define GetActiveWindow() DllCall("user,GetActiveWindow,H")
  568.  
  569. @Outline3@Define GetClassName(hwnd, name, len) dllcall("user,GetClassName,HHCH", %1, %2, %3)
  570.  
  571. @Outline3@Define Getfocus() DllCall("user,GetFocus,H")
  572.  
  573. @Outline3@define GetMenu(HWND)    DllCall("user,GetMenu,HH", %1)
  574.  
  575. @Outline3@<:#240,9071>define GetMenuItemCount(HMENU)    DllCall("user,GetMenuItemCount,HH", %1)
  576.  
  577. @Outline3@<:#240,9071>define GetMenuItemID(HMENU, int)    DllCall("user,GetMenuItemID,LHH", %1, %2)
  578.  
  579. @Outline3@<:#480,9071>define GetMenuString(HMENU, WORD, LPSTR, int, WORD)    DllCall("user,GetMenuString,HHHFHH", %1, %2, %3, %4, %5)
  580.  
  581. @Outline3@<:#240,9071>Define GetModuleHandle() DllCall("kernel,GetModuleHandle,HC", %1)
  582.  
  583. @Outline3@<:#240,9071>define GetParent(hWnd) DllCall("user,GetParent,HH", %1)
  584.  
  585. @Outline3@<:#240,9071>define GetSubMenu(HMENU, int)    DllCall("user,GetSubMenu,HHH", %1, %2)
  586.  
  587. @Outline3@<:#240,9071>Define GetWindow(hwnd, cmd) dllcall("user,GetWindow,HHH", %1, %2)
  588.  
  589. @Outline3@<:#240,9071>DEFINE GetWindowrect()    DllCall("user,GetWindowRect,HHN",%1,%2)
  590.  
  591. @Outline3@<:#240,9071>Define GetWindowText(hwnd, lpsz, cbMax)    dllcall("user,GetWindowText,HHCH", %1, %2, %3)
  592.  
  593. @Outline3@<:#240,9071>define IsIconic(hWnd) DllCall("user,IsIconic,HH", %1)
  594.  
  595. @Outline3@<:#240,9071>define LoadCursor(hwnd, lpcursor)        DllCall("user,LoadCursor,HHC",%1, %2)
  596.  
  597. @Outline3@<:#240,9071>Define MoveWindow() DllCall("User,MoveWindow,HHHHHHA",%1,%2,%3,%4,%5,%6)
  598.  
  599. @Outline3@<:#480,9071>define PeekMessage(lpmsg, hwnd, uFilterFirst, uFilterLast, fuRemove)        dllcall("user,PeekMessage,ANHHHH", %1, %2, %3, %4, %5)
  600.  
  601. @Outline3@<:#240,9071>Define PostMessage() DllCall("User,PostMessage,HHHHJ",%1,%2,%3,%4)
  602.  
  603. @Outline3@<:#480,9071>Define SendMessage(hwnd, message, wparam, lparao) Dllcall("user,SendMessage,JHHHJ", %1, %2, %3, %4)
  604.  
  605. @Outline3@<:#480,9071>Define SendMessageC(hwnd, message, wparam, lparao) Dllcall("user,SendMessage,HHHHC", %1, %2, %3, %4)
  606.  
  607. @Outline3@<:#240,9071>define SetCursor(hwnd)        DllCall("user,SetCursor,HH",%1)
  608.  
  609. @Outline3@<:#240,9071>Define SetFocus() DllCall("user,SetFocus,HH",%1)
  610.  
  611. @Outline3@<:#480,9071>define SetWindowPos(hwnd, hwndinsertafter, x, y, cx, cy, wflags) DllCall("user,SetWindowPos,HHHHHHHI", %1, %2, %3, %4, %5, %6, %7)
  612.  
  613. @Outline3@<:#240,9071>Define ShowWindow(hWnd, stuff) DllCall("user,ShowWindow,HHH", %1, %2)
  614.  
  615. @Outline2@<:#240,9071>'menu pick defines
  616.  
  617. @Outline3@<:#240,9071>define FLW_COPY        142
  618.  
  619. @Outline3@<:#240,9071>define FLW_CURVEDTEXT    307
  620.  
  621. @Outline3@<:#240,9071>define FLW_CURRENTPAGE    228
  622.  
  623. @Outline3@<:#240,9071>define FLW_EDITCLEAR    145
  624.  
  625. @Outline3@<:#240,9071>define FLW_INBW        269
  626.  
  627. @Outline3@<:#240,9071>define FLW_INCOLOR        270
  628.  
  629. @Outline3@<:#240,9071>define FLW_NEW        61
  630.  
  631. @Outline3@<:#240,9071>define FLW_NEWPAGE    241
  632.  
  633. @Outline3@<:#240,9071>define FLW_ORGCHART    5202
  634.  
  635. @Outline3@<:#240,9071>define FLW_OUTLINER    230
  636.  
  637. @Outline3@<:#240,9071>define FLW_PAGESORTER    229
  638.  
  639. @Outline3@<:#240,9071>define FLW_PASTE        144
  640.  
  641. @Outline3@<:#240,9071>define FLW_REMOVEPAGE    242
  642.  
  643. @Outline3@<:#240,9071>define FLW_SCREENSHOWRUN    481
  644.  
  645. @Outline3@<:#240,9071>define FLW_SELECTNONE    166
  646.  
  647. @Outline3@<:#240,9071>define FLW_SELECTALL    165
  648.  
  649. @Outline3@<:#240,9071>define FLW_SPEAKERNOTES    253
  650.  
  651. @Outline2@<:#240,9071>'api defines
  652.  
  653. @Outline3@<:#240,9071>Define GW_CHILD        5
  654.  
  655. @Outline3@<:#240,9071>Define GW_HWNDNEXT    2
  656.  
  657. @Outline3@<:#240,9071>define MF_BYPOSITION    0x0400
  658.  
  659. @Outline3@<:#240,9071>define NO_DUPS    0
  660.  
  661. @Outline3@<:#240,9071>define PM_NOREMOVE    0x0000
  662.  
  663. @Outline3@<:#240,9071>define SWP_NOMOVE        0x0002
  664.  
  665. @Outline3@<:#240,9071>define WM_COMMAND    0x0111
  666.  
  667. @Outline3@<:#240,9071>define WM_GETTEXT           0x000D
  668.  
  669. @Outline3@<:#240,9071>define WM_MDIMAXIMIZE    0x0225
  670.  
  671. @Outline3@<:#240,9071>Define WM_SETREDRAW            0x000B
  672.  
  673. @Function@<:#284,9071>function FLWorg()
  674.  
  675. @Outline2@<:#240,9071>ClipboardWrite("temporary text", 0)
  676.  
  677. @Outline2@<:#240,9071>if IsOKToRun(Paste) != 1
  678.  
  679. @Outline2@    message("<:f,1û╛Æ⌐,>î╗ì▌é▒é╠â}âNâìé═Ä└ìsé┼é½é▄é╣é±üB<:f>")
  680.  
  681. @Outline2@<:#240,9071>    exit function
  682.  
  683. @Outline2@<:#240,9071>endif
  684.  
  685. @Outline2@<:#240,9071>if GetOpenFileCount() << 1
  686.  
  687. @Outline2@<:#240,9071>    exit function
  688.  
  689. @Outline2@<:#240,9071>endif
  690.  
  691. @Outline2@<:#240,9071>LayoutMode()
  692.  
  693. @Outline2@<:#240,9071>If IsFrameSelected() and IsOKToRun(FontChange)
  694.  
  695. @Outline3@<:#240,9071>    msgbox(err_cantuseframe)
  696.  
  697. @Outline3@<:#240,9071>    Exit Function
  698.  
  699. @Outline3@<:#240,9071>Endif
  700.  
  701. @Outline2@<:#240,9071>onerror endit
  702.  
  703. @Outline2@<:#240,9071>oncancel endit
  704.  
  705. @Outline2@<:#240,9071>ignorekeyboard(2)
  706.  
  707. @Outline2@<:#240,9071>dim rect(4)
  708.  
  709. @Outline2@<:#240,9071>focusnow=GetFocus()
  710.  
  711. @Outline2@<:#240,9071>singlestep(0)
  712.  
  713. @Outline2@<:#240,9071>hFLW = h_LoadLotusApp(appname, appmodule);
  714.  
  715. @Outline2@<:#240,9071>'pause(002)
  716.  
  717. @Outline2@<:#240,9071>'singlestep(1)
  718.  
  719. @Outline2@<:#240,9071>if hFLW = 0
  720.  
  721. @Outline2@<:#240,9071>    return 0
  722.  
  723. @Outline2@<:#240,9071>endif
  724.  
  725. @Outline2@<:#240,9071>rmac = getrunningmacrofile$()
  726.  
  727. @Outline2@<:#240,9071>'get handles to everything
  728.  
  729. @Outline3@<:#240,9071>hwndpro = findwindow("amiprownda", 0)
  730.  
  731. @Outline3@<:#240,9071>hIconBar = FindWindow("SmartIconBar",0)
  732.  
  733. @Outline3@<:#240,9071>' this will disable the lotuspal if it is available
  734.  
  735. @Outline3@<:#240,9071>AllocGlobalVar(LotusPal,1)
  736.  
  737. @Outline3@<:#240,9071>hLotusPal =  GetGlobalVar$(LotusPal)
  738.  
  739. @Outline3@<:#240,9071>If hLotusPal <;> 0
  740.  
  741. @Outline3@<:#240,9071>    EnableWindow(hLotusPal, 0)
  742.  
  743. @Outline3@<:#240,9071>Endif
  744.  
  745. @Outline3@<:#240,9071>if isiconic(hFLW)
  746.  
  747. @Outline3@<:#240,9071>    appmaximize(appname)
  748.  
  749. @Outline3@<:#240,9071>endif
  750.  
  751. @Outline3@<+@><:#240,9071>pause(002)
  752.  
  753. @Outline2@<:#240,9071>dim size(4)
  754.  
  755. @Outline2@<:#240,9071>getwindowrect(hFLW, &size)
  756.  
  757. @Outline2@<:#240,9071>movewindow(hFLW, 0, -1160, 768, 80, 1)
  758.  
  759. @Outline2@<:#240,9071>openfile()
  760.  
  761. @Outline2@<:#240,9071>EnableWindow(hIconBar,0)
  762.  
  763. @Outline2@<:#240,9071>EnableWindow(hwndpro, 0)
  764.  
  765. @Outline2@<:#240,9071>activateapp(appname)
  766.  
  767. @Outline2@<:#240,9071>'AppRestore(appname)
  768.  
  769. @Outline2@<:#240,9071>'send the menu picks
  770.  
  771. @Outline3@<+@><:I0,0,0,0><:S+-1><:#240,9071>PostMessage(hFLW, WM_COMMAND, FLW_CURRENTPAGE, "")
  772.  
  773. @Outline3@<+@><:I0,0,0,0><:S+-1><:#240,9071>PostMessage(hFLW, WM_COMMAND, FLW_SELECTALL, "")
  774.  
  775. @Outline3@<+@><:I0,0,0,0><:S+-1><:#240,9071>PostMessage(hFLW, WM_COMMAND, FLW_EDITCLEAR, "")
  776.  
  777. @Outline3@<:#240,9071>PostMessage(hFLW, WM_COMMAND, FLW_ORGCHART, "")        '***
  778.  
  779. @Outline4@<:#240,9071>pause(005)
  780.  
  781. @Outline4@<:#240,9071>defstr titletext;
  782.  
  783. @Outline4@<:#240,9071>while GetActiveWindow() != hflw
  784.  
  785. @Outline4@<:#240,9071>    GetWindowText(GetActiveWindow(), &titletext, 50)
  786.  
  787. @Outline4@<:#240,9071>    hcancel=GetDlgItem(GetActiveWindow(), 2)
  788.  
  789. @Outline4@<:#240,9071>    if titletext = DLG_CREATE
  790.  
  791. @Outline4@<:#240,9071>        hpreview=GetDlgItem(GetActiveWindow(), 10)
  792.  
  793. @Outline4@<:#240,9071>    else
  794.  
  795. @Outline4@        hpreview = GetDlgItem(GetActiveWindow(), 90)
  796.  
  797. @Outline4@<:#240,9071>    endif
  798.  
  799. @Outline4@<:#240,9071>    EnableWindow(hpreview, 0)
  800.  
  801. @Outline4@<:#240,9071>    if titletext != DLG_STYLE
  802.  
  803. @Outline4@<:#240,9071>        EnableWindow(hcancel, 0)
  804.  
  805. @Outline4@<:#240,9071>    endif
  806.  
  807. @Outline4@    
  808.  
  809. @Outline4@<:#240,9071><:f200,2Times New Roman,192,192,192>'    if titletext = OrgChartGalleryDlgText or titletext = OrgChartEntryDlgText
  810.  
  811. @Outline4@<:#240,9071><:f200,2Times New Roman,192,192,192>'        EnableWindow(hcancel, 0)
  812.  
  813. @Outline4@<:S+-1><:#240,9071><:f200,2Times New Roman,192,192,192>'        if titletext = OrgChartEntryDlgText
  814.  
  815. @Outline4@<:#240,9071><:f200,2Times New Roman,192,192,192>'            EnableWindow(hpreview, 0)
  816.  
  817. @Outline4@<:#240,9071><:f200,2Times New Roman,192,192,192>'        endif
  818.  
  819. @Outline4@<:#240,9071><:f200,2Times New Roman,192,192,192>'    endif<:f><:f>
  820.  
  821. @Outline4@<:#240,9071>    pause(002)
  822.  
  823. @Outline4@<:#240,9071>wend
  824.  
  825. @Outline3@<:#240,9071>pause(005)
  826.  
  827. @Outline3@<+@><:#240,9071><+">'PostMessage(hFLW, WM_COMMAND, FLW_INBW, "")<-">
  828.  
  829. @Outline3@<+@><:I0,0,0,0><:S+-1><:#240,9071><+">'PostMessage(hFLW, WM_COMMAND, FLW_PAGESORTER, "")<-">
  830.  
  831. @Outline3@<+@><:I0,0,0,0><:S+-1><:#240,9071><+">'pause(005)<-">
  832.  
  833. @Outline3@<+@><:#240,9071>PostMessage(hFLW, WM_COMMAND, FLW_SELECTALL, "")
  834.  
  835. @Outline3@<+@><:I0,0,0,0><:S+-1><:#240,9071>PostMessage(hFLW, WM_COMMAND, FLW_COPY, "")
  836.  
  837. @Outline3@<+@><:I0,0,0,0><:S+-1><:#240,9071>pause(005)
  838.  
  839. @Outline3@<+@><:#240,9071>PostMessage(hFLW, WM_COMMAND, FLW_SELECTNONE, "")
  840.  
  841. @Outline3@<+@><:I0,0,0,0><:S+-1><:#240,9071>PostMessage(hFLW, WM_COMMAND, FLW_CURRENTPAGE, "")
  842.  
  843. @Outline3@<:#240,9071><+">'PostMessage(hFLW, WM_COMMAND, FLW_INCOLOR, "")<-">
  844.  
  845. @Outline3@<+@><:I0,0,0,0><:S+-1><:#240,9071>sendkeys("<[>esc]")
  846.  
  847. @Outline2@<:#240,9071>pause(008)
  848.  
  849. @Outline2@<:#240,9071>paster:
  850.  
  851. @Outline2@<:I0,0,0,0><:S+-1><:#240,9071>if IsOKToRun(PasteSpecial) !=1
  852.  
  853. @Outline3@<+@><:#240,9071>    EnableWindow(hwndpro, 1)
  854.  
  855. @Outline3@<:#240,9071>    usercontrol(usrctrl_cantpastespecial)
  856.  
  857. @Outline3@<:#240,9071>    goto paster
  858.  
  859. @Outline3@<:#240,9071>endif
  860.  
  861. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9071>pastespecial(pasteformat)
  862.  
  863. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9071>if IsOKToRun(FrameModInit) =1
  864.  
  865. @Outline2@<:#240,9071>    FrameModInit( )
  866.  
  867. @Outline2@<:#240,9071>    FrameModType(536871040 0 ""   )
  868.  
  869. @Outline2@<:#240,9071>    FrameModFinish( )
  870.  
  871. @Outline2@<:#240,9071>endif
  872.  
  873. @Outline2@<+@><:#240,9071>endit:
  874.  
  875. @Outline2@<+@><:#240,9071>activateapp("")
  876.  
  877. @Outline2@<:#240,9071>cx = size(3) - size(1)
  878.  
  879. @Outline2@<:#240,9071>cy = size(4) - size(2)
  880.  
  881. @Outline2@<:#240,9071>movewindow(hFLW, size(1), size(2), cx, cy, 1)
  882.  
  883. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9071>' PMM 5-20-93 lotuspal code
  884.  
  885. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9071>If hLotusPal <;>0
  886.  
  887. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9071>    ' if the lotuspal is active, enable the window
  888.  
  889. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9071>    EnableWindow(hLotusPal, 1)
  890.  
  891. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9071>Else
  892.  
  893. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9071>    ' if the lotuspal is not active, free the global var
  894.  
  895. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9071>    FreeGlobalVar(LotusPal)
  896.  
  897. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9071>Endif
  898.  
  899. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9071>
  900.  
  901. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9071>EnableWindow(hwndpro, 1)
  902.  
  903. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9071>EnableWindow(hIconBar, 1)
  904.  
  905. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9071>SetFocus(focusnow)
  906.  
  907. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9071>end function
  908.  
  909. @Function@<:#284,9071>function h_LoadLotusApp(name, module)
  910.  
  911. @Outline2@<:#240,9071>onerror endit
  912.  
  913. @Outline2@<:#240,9071>oncancel endit
  914.  
  915. @Outline2@<:#240,9071>hwnd =  findwindow(appclass, 0)
  916.  
  917. @Outline2@<:#240,9071>if hwnd = 0
  918.  
  919. @Outline2@<:#240,9071>    app = GetProfileString$(LotusAppSection, name, LotusIniFile)
  920.  
  921. @Outline2@<:#240,9071>    if app <<<;> ""
  922.  
  923. @Outline2@<:#240,9071>        offset1stspace=strchr(1, app, " ")
  924.  
  925. @Outline2@<:#240,9071>        app = strfield$(app, 1, " ")
  926.  
  927. @Outline2@<:#240,9071>        lotusappname=MID$(app, offset1stspace, len(app))    'DEZ
  928.  
  929. @Outline2@<:#240,9071>        'lotusappname = strfield$(app, 2, " ")
  930.  
  931. @Outline2@<:#240,9071>        if exec(app, "/q") << 32
  932.  
  933. @Outline2@<:#240,9071>            MsgBox(err_couldntrunorgchart)
  934.  
  935. @Outline2@<:#240,9071>            'MsgBox(err_cantlaunchapp)
  936.  
  937. @Outline2@<:#240,9071>            call salesmsgsmm(3)
  938.  
  939. @Outline2@<:#240,9071>            return 0
  940.  
  941. @Outline2@<:#240,9071>        endif
  942.  
  943. @Outline2@<:#240,9071>        pause(004)
  944.  
  945. @Outline2@<:#240,9071>    endif
  946.  
  947. @Outline2@<:#240,9071>    hwnd = findwindow(appclass, 0)
  948.  
  949. @Outline2@<:#240,9071>    if hwnd = 0
  950.  
  951. @Outline2@<:#240,9071>        MsgBox(err_couldntrunorgchart)
  952.  
  953. @Outline2@<:#240,9071>        call salesmsgsmm(3)
  954.  
  955. @Outline2@<:#240,9071>    endif
  956.  
  957. @Outline2@<:#240,9071>    return hwnd
  958.  
  959. @Outline2@<:#240,9071>endif
  960.  
  961. @Outline2@<:#240,9071>endit:
  962.  
  963. @Outline2@<:#240,9071>return hwnd
  964.  
  965. @Outline2@<:#240,9071>end function
  966.  
  967. @Function@<:#284,9071>function openfile()
  968.  
  969. @Outline2@<:#240,9071>hflw=findwindow(appclass, 0)
  970.  
  971. @Outline2@<:#240,9071>'orgfilename="ONEORG.PRE"
  972.  
  973. @Outline2@<:#240,9071>isitopen=onmenu(FLW_WINDOWMENU, orgfilename, 0)
  974.  
  975. @Outline2@<:#240,9071>if isitopen = FILE_ALREADYOPEN
  976.  
  977. @Outline2@<:#240,9071>    exit function
  978.  
  979. @Outline2@<:#240,9071>endif
  980.  
  981. @Outline2@<:#240,9071>amidir=GetAmiDirectory$()
  982.  
  983. @Outline2@<:#240,9071>ID = DDEInitiate(appname, "system")
  984.  
  985. @Outline2@<:#240,9071>'command = "<[><[>StdOpenDocument({amidir}{orgfilename})]"
  986.  
  987. @Outline2@<:#240,9071>command = strcat$("<[><[>StdOpenDocument(", amidir, orgfilename, ")]")
  988.  
  989. @Outline2@<:#240,9071>res = DDEExecute(id, command) ' comm
  990.  
  991. @Outline2@<:#240,9071>if id <;> 0
  992.  
  993. @Outline2@<:#240,9071>    DDETerminate(id)
  994.  
  995. @Outline2@<:#240,9071>endif
  996.  
  997. @Outline2@<:#240,9071>pause(005)
  998.  
  999. @Outline2@<:#240,9071>childfocus=GetFocus()
  1000.  
  1001. @Outline2@<:#240,9071>mdiclient=GetParent(childfocus)
  1002.  
  1003. @Outline2@<:#240,9071>AppSendMessage(mdiclient, WM_MDIMAXIMIZE, childfocus, "")
  1004.  
  1005. @Outline2@<:#240,9071>end function
  1006.  
  1007. @Function@<:#284,9071>function MyPostMessage(hwnd, msg, wparam, lparam)
  1008.  
  1009. @Outline2@<:#240,9071>hflw=findwindow(appclass, 0)
  1010.  
  1011. @Outline2@<:#240,9071>PostMessage(hwnd, msg, wparam, lparam)
  1012.  
  1013. @Outline2@<:#240,9071>pause(005)
  1014.  
  1015. @Outline2@<:#240,9071>while GetActiveWindow() != hflw
  1016.  
  1017. @Outline2@<:#240,9071>    pause(002)
  1018.  
  1019. @Outline2@<:#240,9071>wend
  1020.  
  1021. @Outline2@<:#240,9071>end function
  1022.  
  1023. @Function@<:#284,9071>function onmenu(menu, item, casc)
  1024.  
  1025. @Outline2@<:#240,9071>isthistheone=0
  1026.  
  1027. @Outline2@<:#240,9071>defstr menuitemnum;
  1028.  
  1029. @Outline2@<:#240,9071>defstr cascmenuitemnum;
  1030.  
  1031. @Outline2@<:#240,9071>hwnd=findwindow(appclass, 0)
  1032.  
  1033. @Outline2@<:#240,9071>hmenubar=GetMenu(hwnd)
  1034.  
  1035. @Outline2@<:#240,9071>'get handle to menu
  1036.  
  1037. @Outline3@<:#240,9071>nummenus=getmenuitemcount(hmenubar)
  1038.  
  1039. @Outline3@<:#240,9071>if nummenus << 1
  1040.  
  1041. @Outline3@<:#240,9071>    message ("Cannot locate the menu bar.")
  1042.  
  1043. @Outline3@<:#240,9071>    goto out
  1044.  
  1045. @Outline3@<:#240,9071>endif
  1046.  
  1047. @Outline3@<:#240,9071>for i = 0 to nummenus - 1
  1048.  
  1049. @Outline3@<:#240,9071>    GetMenuString(hmenubar, i, &isthistheone,  25, MF_BYPOSITION)
  1050.  
  1051. @Outline3@<:#240,9071>    menulen=len(menu)
  1052.  
  1053. @Outline3@<:#240,9071>    if ucase$(left$(isthistheone, menulen)) = ucase$(left$(menu, menulen))
  1054.  
  1055. @Outline3@<:#240,9071>        menunum=i
  1056.  
  1057. @Outline3@<:#240,9071>    endif
  1058.  
  1059. @Outline3@<:#240,9071>next
  1060.  
  1061. @Outline3@<:#240,9071>hmenu=getsubmenu(hmenubar, menunum)
  1062.  
  1063. @Outline2@<:#240,9071>'get position or handle of item
  1064.  
  1065. @Outline3@<:#240,9071>'get position of item
  1066.  
  1067. @Outline4@<:#240,9071>    extra = 0
  1068.  
  1069. @Outline4@<:#240,9071>    menuitemnum = 0
  1070.  
  1071. @Outline4@<:#240,9071>    cascmenuitemnum = 0
  1072.  
  1073. @Outline4@<:#240,9071>    nummenuitems=getmenuitemcount(hmenu)
  1074.  
  1075. @Outline4@<:#240,9071>    if nummenuitems << 1
  1076.  
  1077. @Outline4@<:#240,9071>        message ("Cannot locate the correct menu.")
  1078.  
  1079. @Outline4@<:#240,9071>        goto out
  1080.  
  1081. @Outline4@<:#240,9071>    endif
  1082.  
  1083. @Outline4@<:#240,9071>    for i= 0 to (nummenuitems - 1)
  1084.  
  1085. @Outline4@<:#240,9071>        GetMenuString(hmenu, i, &isthistheone,  25, MF_BYPOSITION)
  1086.  
  1087. @Outline4@<:#240,9071>        itemlen=len(item)
  1088.  
  1089. @Outline4@<:#240,9071>        length=len(isthistheone)
  1090.  
  1091. @Outline4@<:#240,9071>        if length << 1 and menuitemnum = 0
  1092.  
  1093. @Outline4@<:#240,9071>            extra=extra + 1
  1094.  
  1095. @Outline4@<:#240,9071>        endif
  1096.  
  1097. @Outline4@<:#240,9071>        text=ucase$(isthistheone)
  1098.  
  1099. @Outline4@<:#240,9071>        pattern=ucase$(item)
  1100.  
  1101. @Outline4@<:#240,9071>        'if ucase$(left$(item, itemlen)) = ucase$(left$(isthistheone, itemlen))
  1102.  
  1103. @Outline4@<:#240,9071>        if Instr(1, Text, Pattern) != 0
  1104.  
  1105. @Outline4@<:#240,9071>            return FILE_ALREADYOPEN
  1106.  
  1107. @Outline4@<:#240,9071>            menuitemnum=i
  1108.  
  1109. @Outline4@<:#240,9071>            break
  1110.  
  1111. @Outline4@<:#240,9071>        endif
  1112.  
  1113. @Outline4@<:#240,9071>    next
  1114.  
  1115. @Outline4@<:#240,9071>    'couldn't find it
  1116.  
  1117. @Outline4@<:#240,9071>    return FILE_NOTOPEN
  1118.  
  1119. @Outline4@<:#240,9071>    menuitemnum=menuitemnum - extra
  1120.  
  1121. @Outline3@<:#240,9071>'get handle to casc menu
  1122.  
  1123. @Outline4@<:#240,9071>numcascmenus=getmenuitemcount(hmenu)
  1124.  
  1125. @Outline4@<:#240,9071>if numcascmenus << 1
  1126.  
  1127. @Outline4@<:#240,9071>    goto out
  1128.  
  1129. @Outline4@<:#240,9071>endif
  1130.  
  1131. @Outline4@<:#240,9071>for i = 0 to numcascmenus - 1
  1132.  
  1133. @Outline4@<:#240,9071>    GetMenuString(hmenu, i, &isthistheone,  25, MF_BYPOSITION)
  1134.  
  1135. @Outline4@<:#240,9071>    cascmenulen=len(item)
  1136.  
  1137. @Outline4@<:#240,9071>    if ucase$(left$(isthistheone, cascmenulen)) = ucase$(left$(item, cascmenulen))
  1138.  
  1139. @Outline4@<:#240,9071>        cascmenunum=i
  1140.  
  1141. @Outline4@<:#240,9071>    endif
  1142.  
  1143. @Outline4@<:#240,9071>next
  1144.  
  1145. @Outline4@<:#240,9071>hcascmenu=getsubmenu(hmenu, cascmenunum)
  1146.  
  1147. @Outline3@<:#240,9071>'get position of casc item
  1148.  
  1149. @Outline4@<:#240,9071>    extra = 0
  1150.  
  1151. @Outline4@<:#240,9071>    numcascmenuitems=getmenuitemcount(hcascmenu)
  1152.  
  1153. @Outline4@<:#240,9071>    if numcascmenuitems << 1
  1154.  
  1155. @Outline4@<:#240,9071>        goto out
  1156.  
  1157. @Outline4@<:#240,9071>    endif
  1158.  
  1159. @Outline4@<:#240,9071>    for i= 0 to (numcascmenuitems - 1)
  1160.  
  1161. @Outline4@<:#240,9071>        GetMenuString(hcascmenu, i, &isthistheone,  25, MF_BYPOSITION)
  1162.  
  1163. @Outline4@<:#240,9071>        cascitemlen=len(casc)
  1164.  
  1165. @Outline4@<:#240,9071>        length=len(isthistheone)
  1166.  
  1167. @Outline4@<:#240,9071>        if length << 1 and cascmenuitemnum = 0
  1168.  
  1169. @Outline4@<:#240,9071>            extra=extra + 1
  1170.  
  1171. @Outline4@<:#240,9071>        endif
  1172.  
  1173. @Outline4@<:#240,9071>        if ucase$(left$(casc, cascitemlen)) = ucase$(left$(isthistheone, cascitemlen))
  1174.  
  1175. @Outline4@<:#240,9071>            cascmenuitemnum=i
  1176.  
  1177. @Outline4@<:#240,9071>            break
  1178.  
  1179. @Outline4@<:#240,9071>        endif
  1180.  
  1181. @Outline4@<:#240,9071>    next
  1182.  
  1183. @Outline4@<:#240,9071>    cascmenuitemnum=cascmenuitemnum - extra
  1184.  
  1185. @Outline2@<:#240,9071>'return numbers
  1186.  
  1187. @Outline3@<:#240,9071>out:
  1188.  
  1189. @Outline3@<:#240,9071>getdist=strcat$(menuitemnum, ", ", cascmenuitemnum, ",",  casc)
  1190.  
  1191. @Outline3@<:#240,9071>hourglass(0)
  1192.  
  1193. @Outline2@<:#240,9071>end function<:>
  1194.  
  1195. @Function@<:#284,9071>function PeekTillClear(hwnd)
  1196.  
  1197. @Outline2@<:#240,9071>defstr msg, result;
  1198.  
  1199. @Outline2@<:#240,9071>WHILE 0 != Assign(&result, PeekMessage(&msg, hwnd, 0, 0, PM_NOREMOVE))
  1200.  
  1201. @Outline2@<:#240,9071>    statusbarmsg("{hflw}={result}")
  1202.  
  1203. @Outline2@<:#240,9071>    pause(002)
  1204.  
  1205. @Outline2@<:#240,9071>WEND
  1206.  
  1207. @Outline2@<:#240,9071>message("here")
  1208.  
  1209. @Outline2@<:#240,9071>end function
  1210.  
  1211. <:#240,9071>
  1212.  
  1213. >
  1214.  
  1215. [Embedded]
  1216. 00025724
  1217. >
  1218. [macsum] 6
  1219. FLWorg 0 0 14 104
  1220. h_LoadLotusApp 3246 2 5 222
  1221. openfile 4194 0 9 251
  1222. MyPostMessage 4856 4 2 271
  1223. onmenu 5200 3 24 279
  1224. PeekTillClear 8301 1 4 365
  1225. [macse]
  1226. 14 FLWorg
  1227. 0 1038 "temporary text" 0
  1228. 0 1313 217 24 155
  1229. 13
  1230. 5 1
  1231. 18 1
  1232. 11 00000137
  1233. 0 3 "î╗ì▌é▒é╠â}âNâìé═Ä└ìsé┼é½é▄é╣é±üB"
  1234. 6 0
  1235. 15
  1236. 9
  1237. 0 1050
  1238. 13
  1239. 5 1
  1240. 18 5
  1241. 11 00000185
  1242. 6 0
  1243. 15
  1244. 9
  1245. 2 210 1
  1246. 0 800
  1247. 13
  1248. 0 1313 217 24 251
  1249. 13
  1250. 1 1
  1251. 11 00000318
  1252. 0 3 "ægÉDÉ}é┼é═üAé▒é╠ÿgé≡Ägéªé▄é╣é±üB" "Ami Pro Org Chart"
  1253. 6 0
  1254. 15
  1255. 9
  1256. 20 00002755
  1257. 19 00002755
  1258. 0 32 2
  1259. 5 4
  1260. 21 1 [X]
  1261. 0 284 "user,GetFocus,H"
  1262. 13
  1263. 8 2
  1264. 0 4 0
  1265. 17 20
  1266. 29 3 hFLW
  1267. 16 h_LoadLotusApp "FLW" "FLWMAIN"
  1268. 13
  1269. 8 3
  1270. 17 23
  1271. 6 3
  1272. 5 0
  1273. 18 0
  1274. 11 00000525
  1275. 17 24
  1276. 5 0
  1277. 15
  1278. 9
  1279. 17 26
  1280. 29 4 rmac
  1281. 0 802
  1282. 13
  1283. 8 4
  1284. 17 28
  1285. 29 5 hwndpro
  1286. 0 284 "user,FindWindow,HCC" "amiprownda" 0
  1287. 13
  1288. 8 5
  1289. 17 29
  1290. 29 6 hIconBar
  1291. 0 284 "user,FindWindow,HCC" "SmartIconBar" 0
  1292. 13
  1293. 8 6
  1294. 17 31
  1295. 0 271 "lsphwndpal" 1
  1296. 17 32
  1297. 29 7 hLotusPal
  1298. 0 265 "lsphwndpal"
  1299. 13
  1300. 8 7
  1301. 17 33
  1302. 6 7
  1303. 5 0
  1304. 18 3
  1305. 11 00000873
  1306. 17 34
  1307. 0 284 "user,EnableWindow,HHH" "{7}" 0
  1308. 17 36
  1309. 0 284 "user,IsIconic,HH" "{3}"
  1310. 13
  1311. 11 00000950
  1312. 17 37
  1313. 0 1029 "FLW"
  1314. 17 39
  1315. 0 274 002
  1316. 17 40
  1317. 5 4
  1318. 29 8 size
  1319. 21 8 [X]
  1320. 17 41
  1321. 0 284 "user,GetWindowRect,HHN" "{3}" &8
  1322. 17 42
  1323. 0 284 "User,MoveWindow,HHHHHHA" "{3}" 0 -1160 768 80 1
  1324. 17 43
  1325. 16 openfile
  1326. 17 44
  1327. 0 284 "user,EnableWindow,HHH" "{6}" 0
  1328. 17 45
  1329. 0 284 "user,EnableWindow,HHH" "{5}" 0
  1330. 17 46
  1331. 0 38 "FLW"
  1332. 17 49
  1333. 0 284 "User,PostMessage,HHHHJ" "{3}" 273 228 ""
  1334. 17 50
  1335. 0 284 "User,PostMessage,HHHHJ" "{3}" 273 165 ""
  1336. 17 51
  1337. 0 284 "User,PostMessage,HHHHJ" "{3}" 273 145 ""
  1338. 17 52
  1339. 0 284 "User,PostMessage,HHHHJ" "{3}" 273 5202 ""
  1340. 17 53
  1341. 0 274 005
  1342. 17 54
  1343. 29 9 titletext
  1344. 17 55
  1345. 0 284 "user,GetActiveWindow,H"
  1346. 13
  1347. 6 3
  1348. 18 1
  1349. 11 00002126
  1350. 17 56
  1351. 0 284 "user,GetActiveWindow,H"
  1352. 13
  1353. 0 284 "user,GetWindowText,HHCH" [X] &9 50
  1354. 17 57
  1355. 29 10 hcancel
  1356. 0 284 "user,GetActiveWindow,H"
  1357. 13
  1358. 0 44 [X] 2
  1359. 13
  1360. 8 10
  1361. 17 58
  1362. 6 9
  1363. 7 "ægÉDÉ}é╠ì∞ɼ"
  1364. 18 0
  1365. 11 00001886
  1366. 17 59
  1367. 29 11 hpreview
  1368. 0 284 "user,GetActiveWindow,H"
  1369. 13
  1370. 0 44 [X] 10
  1371. 13
  1372. 8 11
  1373. 10 00001952
  1374. 17 61
  1375. 0 284 "user,GetActiveWindow,H"
  1376. 13
  1377. 0 44 [X] 90
  1378. 13
  1379. 8 11
  1380. 17 63
  1381. 0 284 "user,EnableWindow,HHH" "{11}" 0
  1382. 17 64
  1383. 6 9
  1384. 7 "ægÉDÉ}é╠╜└▓┘"
  1385. 18 1
  1386. 11 00002095
  1387. 17 65
  1388. 0 284 "user,EnableWindow,HHH" "{10}" 0
  1389. 17 74
  1390. 0 274 002
  1391. 10 00001509
  1392. 17 76
  1393. 0 274 005
  1394. 17 80
  1395. 0 284 "User,PostMessage,HHHHJ" "{3}" 273 165 ""
  1396. 17 81
  1397. 0 284 "User,PostMessage,HHHHJ" "{3}" 273 142 ""
  1398. 17 82
  1399. 0 274 005
  1400. 17 83
  1401. 0 284 "User,PostMessage,HHHHJ" "{3}" 273 166 ""
  1402. 17 84
  1403. 0 284 "User,PostMessage,HHHHJ" "{3}" 273 228 ""
  1404. 17 86
  1405. 0 36 "[27]"
  1406. 17 87
  1407. 0 274 008
  1408. 17 89
  1409. 0 1313 217 24 588
  1410. 13
  1411. 5 1
  1412. 18 1
  1413. 11 00002609
  1414. 17 90
  1415. 0 284 "user,EnableWindow,HHH" "{5}" 1
  1416. 17 91
  1417. 0 7 "ô\éΦòté»é┼é½é▄é╣é±üBò╢Åæé╠û{ò╢é≡╕╪»╕é╡é─é¡é╛é│éóüB"
  1418. 17 92
  1419. 10 00002424
  1420. 17 94
  1421. 2 588 1 "Windows ╥└"
  1422. 17 95
  1423. 0 1313 217 24 421
  1424. 13
  1425. 5 1
  1426. 18 0
  1427. 11 00002755
  1428. 17 96
  1429. 2 421 1
  1430. 17 97
  1431. 2 417 1 536871040 0 ""
  1432. 17 98
  1433. 2 420 1
  1434. 17 101
  1435. 0 38 ""
  1436. 17 102
  1437. 29 12 cx
  1438. 5 3
  1439. 22 8
  1440. 5 1
  1441. 22 8
  1442. 3 1
  1443. 8 12
  1444. 17 103
  1445. 29 13 cy
  1446. 5 4
  1447. 22 8
  1448. 5 2
  1449. 22 8
  1450. 3 1
  1451. 8 13
  1452. 17 104
  1453. 5 1
  1454. 22 8
  1455. 5 2
  1456. 22 8
  1457. 0 284 "User,MoveWindow,HHHHHHA" "{3}" [X] [X] "{12}" "{13}" 1
  1458. 17 106
  1459. 6 7
  1460. 5 0
  1461. 18 3
  1462. 11 00003064
  1463. 17 108
  1464. 0 284 "user,EnableWindow,HHH" "{7}" 1
  1465. 10 00003092
  1466. 17 111
  1467. 0 266 "lsphwndpal"
  1468. 17 114
  1469. 0 284 "user,EnableWindow,HHH" "{5}" 1
  1470. 17 115
  1471. 0 284 "user,EnableWindow,HHH" "{6}" 1
  1472. 17 116
  1473. 0 284 "user,SetFocus,HH" "{2}"
  1474. 6 0
  1475. 15
  1476. 17 117
  1477. 9
  1478. 14 h_LoadLotusApp
  1479. 29 0 name
  1480. 29 1 module
  1481. 29 2 h_LoadLotusApp
  1482. 17 1
  1483. 20 00000910
  1484. 17 2
  1485. 19 00000910
  1486. 17 3
  1487. 29 3 hwnd
  1488. 0 284 "user,FindWindow,HCC" "flwapp" 0
  1489. 13
  1490. 8 3
  1491. 17 4
  1492. 6 3
  1493. 5 0
  1494. 18 0
  1495. 11 00000910
  1496. 17 5
  1497. 29 4 app
  1498. 0 286 "Lotus Applications" "{0}" "lotus.ini"
  1499. 13
  1500. 8 4
  1501. 17 6
  1502. 6 4
  1503. 7 ""
  1504. 18 1
  1505. 11 00000679
  1506. 17 7
  1507. 29 5 offset1stspace
  1508. 0 13 1 "{4}" " "
  1509. 13
  1510. 8 5
  1511. 17 8
  1512. 0 20 "{4}" 1 " "
  1513. 13
  1514. 8 4
  1515. 17 9
  1516. 29 6 lotusappname
  1517. 0 14 "{4}"
  1518. 13
  1519. 0 15 "{4}" "{5}" [X]
  1520. 13
  1521. 8 6
  1522. 17 11
  1523. 0 22 "{4}" "/q"
  1524. 13
  1525. 5 32
  1526. 18 5
  1527. 11 00000661
  1528. 17 12
  1529. 0 3 "╠╪░╫▌╜é≡ïNô«é┼é½é╚éóé╜é▀üAægÉDÉ}é≡ì∞ɼé┼é½é▄é╣é±üB" "Ami Pro Org Chart"
  1530. 17 14
  1531. 16 lotuspal.smm!salesmsg 3
  1532. 17 15
  1533. 5 0
  1534. 15
  1535. 9
  1536. 17 17
  1537. 0 274 004
  1538. 17 19
  1539. 0 284 "user,FindWindow,HCC" "flwapp" 0
  1540. 13
  1541. 8 3
  1542. 17 20
  1543. 6 3
  1544. 5 0
  1545. 18 0
  1546. 11 00000891
  1547. 17 21
  1548. 0 3 "╠╪░╫▌╜é≡ïNô«é┼é½é╚éóé╜é▀üAægÉDÉ}é≡ì∞ɼé┼é½é▄é╣é±üB" "Ami Pro Org Chart"
  1549. 17 22
  1550. 16 lotuspal.smm!salesmsg 3
  1551. 17 24
  1552. 6 3
  1553. 15
  1554. 9
  1555. 17 27
  1556. 6 3
  1557. 15
  1558. 9
  1559. 6 2
  1560. 15
  1561. 17 28
  1562. 9
  1563. 14 openfile
  1564. 29 0 openfile
  1565. 17 1
  1566. 29 1 hflw
  1567. 0 284 "user,FindWindow,HCC" "flwapp" 0
  1568. 13
  1569. 8 1
  1570. 17 3
  1571. 29 2 isitopen
  1572. 16 onmenu "│▓▌─▐│(&W)" "ONEORG.PRE" 0
  1573. 13
  1574. 8 2
  1575. 17 4
  1576. 6 2
  1577. 5 1
  1578. 18 0
  1579. 11 00000210
  1580. 6 0
  1581. 15
  1582. 9
  1583. 17 7
  1584. 29 3 amidir
  1585. 0 798
  1586. 13
  1587. 8 3
  1588. 17 8
  1589. 29 4 ID
  1590. 0 8 "FLW" "system"
  1591. 13
  1592. 8 4
  1593. 17 10
  1594. 29 5 command
  1595. 0 16 "[[StdOpenDocument(" "{3}" "ONEORG.PRE" ")]"
  1596. 13
  1597. 8 5
  1598. 17 11
  1599. 29 6 res
  1600. 0 11 "{4}" "{5}"
  1601. 13
  1602. 8 6
  1603. 17 12
  1604. 6 4
  1605. 5 0
  1606. 18 3
  1607. 11 00000468
  1608. 17 13
  1609. 0 9 "{4}"
  1610. 17 15
  1611. 0 274 005
  1612. 17 16
  1613. 29 7 childfocus
  1614. 0 284 "user,GetFocus,H"
  1615. 13
  1616. 8 7
  1617. 17 17
  1618. 29 8 mdiclient
  1619. 0 284 "user,GetParent,HH" "{7}"
  1620. 13
  1621. 8 8
  1622. 17 18
  1623. 0 1036 "{8}" 549 "{7}" ""
  1624. 6 0
  1625. 15
  1626. 17 19
  1627. 9
  1628. 14 MyPostMessage
  1629. 29 0 hwnd
  1630. 29 1 msg
  1631. 29 2 wparam
  1632. 29 3 lparam
  1633. 29 4 MyPostMessage
  1634. 17 1
  1635. 29 5 hflw
  1636. 0 284 "user,FindWindow,HCC" "flwapp" 0
  1637. 13
  1638. 8 5
  1639. 17 2
  1640. 0 284 "User,PostMessage,HHHHJ" "{0}" "{1}" "{2}" "{3}"
  1641. 17 3
  1642. 0 274 005
  1643. 17 4
  1644. 0 284 "user,GetActiveWindow,H"
  1645. 13
  1646. 6 5
  1647. 18 1
  1648. 11 00000326
  1649. 17 5
  1650. 0 274 002
  1651. 10 00000230
  1652. 6 4
  1653. 15
  1654. 17 7
  1655. 9
  1656. 14 onmenu
  1657. 29 0 menu
  1658. 29 1 item
  1659. 29 2 casc
  1660. 29 3 onmenu
  1661. 17 1
  1662. 29 4 isthistheone
  1663. 5 0
  1664. 8 4
  1665. 17 2
  1666. 29 5 menuitemnum
  1667. 17 3
  1668. 29 6 cascmenuitemnum
  1669. 17 4
  1670. 29 7 hwnd
  1671. 0 284 "user,FindWindow,HCC" "flwapp" 0
  1672. 13
  1673. 8 7
  1674. 17 5
  1675. 29 8 hmenubar
  1676. 0 284 "user,GetMenu,HH" "{7}"
  1677. 13
  1678. 8 8
  1679. 17 7
  1680. 29 9 nummenus
  1681. 0 284 "user,GetMenuItemCount,HH" "{8}"
  1682. 13
  1683. 8 9
  1684. 17 8
  1685. 6 9
  1686. 5 1
  1687. 18 5
  1688. 11 00000437
  1689. 17 9
  1690. 0 3 "Cannot locate the menu bar."
  1691. 17 10
  1692. 10 00003001
  1693. 29 10 i
  1694. 5 0
  1695. 8 10
  1696. 17 12
  1697. 6 9
  1698. 5 1
  1699. 3 1
  1700. 6 10
  1701. 18 2
  1702. 12 00000552
  1703. 10 00000811
  1704. 5 1
  1705. 6 10
  1706. 3 0
  1707. 8 10
  1708. 10 00000457
  1709. 17 13
  1710. 0 284 "user,GetMenuString,HHHFHH" "{8}" "{10}" &4 25 1024
  1711. 17 14
  1712. 29 11 menulen
  1713. 0 14 "{0}"
  1714. 13
  1715. 8 11
  1716. 17 15
  1717. 0 806 "{4}" "{11}"
  1718. 13
  1719. 0 18 [X]
  1720. 13
  1721. 0 806 "{0}" "{11}"
  1722. 13
  1723. 0 18 [X]
  1724. 13
  1725. 18 0
  1726. 11 00000798
  1727. 17 16
  1728. 29 12 menunum
  1729. 6 10
  1730. 8 12
  1731. 10 00000517
  1732. 17 19
  1733. 29 13 hmenu
  1734. 0 284 "user,GetSubMenu,HHH" "{8}" "{12}"
  1735. 13
  1736. 8 13
  1737. 17 22
  1738. 29 14 extra
  1739. 5 0
  1740. 8 14
  1741. 17 23
  1742. 5 0
  1743. 8 5
  1744. 17 24
  1745. 5 0
  1746. 8 6
  1747. 17 25
  1748. 29 15 nummenuitems
  1749. 0 284 "user,GetMenuItemCount,HH" "{13}"
  1750. 13
  1751. 8 15
  1752. 17 26
  1753. 6 15
  1754. 5 1
  1755. 18 5
  1756. 11 00001129
  1757. 17 27
  1758. 0 3 "Cannot locate the correct menu."
  1759. 17 28
  1760. 10 00003001
  1761. 5 0
  1762. 8 10
  1763. 17 30
  1764. 6 15
  1765. 5 1
  1766. 3 1
  1767. 6 10
  1768. 18 2
  1769. 12 00001236
  1770. 10 00001690
  1771. 5 1
  1772. 6 10
  1773. 3 0
  1774. 8 10
  1775. 10 00001140
  1776. 17 31
  1777. 0 284 "user,GetMenuString,HHHFHH" "{13}" "{10}" &4 25 1024
  1778. 17 32
  1779. 29 16 itemlen
  1780. 0 14 "{1}"
  1781. 13
  1782. 8 16
  1783. 17 33
  1784. 29 17 length
  1785. 0 14 "{4}"
  1786. 13
  1787. 8 17
  1788. 17 34
  1789. 6 17
  1790. 5 1
  1791. 18 5
  1792. 6 5
  1793. 5 0
  1794. 18 0
  1795. 1 1
  1796. 11 00001477
  1797. 17 35
  1798. 6 14
  1799. 5 1
  1800. 3 0
  1801. 8 14
  1802. 17 37
  1803. 29 18 text
  1804. 0 18 "{4}"
  1805. 13
  1806. 8 18
  1807. 17 38
  1808. 29 19 pattern
  1809. 0 18 "{1}"
  1810. 13
  1811. 8 19
  1812. 17 40
  1813. 0 808 1 "{18}" "{19}"
  1814. 13
  1815. 5 0
  1816. 18 1
  1817. 11 00001677
  1818. 17 41
  1819. 5 1
  1820. 15
  1821. 9
  1822. 17 42
  1823. 6 10
  1824. 8 5
  1825. 17 43
  1826. 10 00001690
  1827. 10 00001201
  1828. 17 47
  1829. 5 -1
  1830. 15
  1831. 9
  1832. 17 48
  1833. 6 5
  1834. 6 14
  1835. 3 1
  1836. 8 5
  1837. 17 50
  1838. 29 20 numcascmenus
  1839. 0 284 "user,GetMenuItemCount,HH" "{13}"
  1840. 13
  1841. 8 20
  1842. 17 51
  1843. 6 20
  1844. 5 1
  1845. 18 5
  1846. 11 00001873
  1847. 17 52
  1848. 10 00003001
  1849. 5 0
  1850. 8 10
  1851. 17 54
  1852. 6 20
  1853. 5 1
  1854. 3 1
  1855. 6 10
  1856. 18 2
  1857. 12 00001980
  1858. 10 00002248
  1859. 5 1
  1860. 6 10
  1861. 3 0
  1862. 8 10
  1863. 10 00001884
  1864. 17 55
  1865. 0 284 "user,GetMenuString,HHHFHH" "{13}" "{10}" &4 25 1024
  1866. 17 56
  1867. 29 21 cascmenulen
  1868. 0 14 "{1}"
  1869. 13
  1870. 8 21
  1871. 17 57
  1872. 0 806 "{4}" "{21}"
  1873. 13
  1874. 0 18 [X]
  1875. 13
  1876. 0 806 "{1}" "{21}"
  1877. 13
  1878. 0 18 [X]
  1879. 13
  1880. 18 0
  1881. 11 00002235
  1882. 17 58
  1883. 29 22 cascmenunum
  1884. 6 10
  1885. 8 22
  1886. 10 00001945
  1887. 17 61
  1888. 29 23 hcascmenu
  1889. 0 284 "user,GetSubMenu,HHH" "{13}" "{22}"
  1890. 13
  1891. 8 23
  1892. 17 63
  1893. 5 0
  1894. 8 14
  1895. 17 64
  1896. 29 24 numcascmenuitems
  1897. 0 284 "user,GetMenuItemCount,HH" "{23}"
  1898. 13
  1899. 8 24
  1900. 17 65
  1901. 6 24
  1902. 5 1
  1903. 18 5
  1904. 11 00002482
  1905. 17 66
  1906. 10 00003001
  1907. 5 0
  1908. 8 10
  1909. 17 68
  1910. 6 24
  1911. 5 1
  1912. 3 1
  1913. 6 10
  1914. 18 2
  1915. 12 00002589
  1916. 10 00002973
  1917. 5 1
  1918. 6 10
  1919. 3 0
  1920. 8 10
  1921. 10 00002493
  1922. 17 69
  1923. 0 284 "user,GetMenuString,HHHFHH" "{23}" "{10}" &4 25 1024
  1924. 17 70
  1925. 29 25 cascitemlen
  1926. 0 14 "{2}"
  1927. 13
  1928. 8 25
  1929. 17 71
  1930. 0 14 "{4}"
  1931. 13
  1932. 8 17
  1933. 17 72
  1934. 6 17
  1935. 5 1
  1936. 18 5
  1937. 6 6
  1938. 5 0
  1939. 18 0
  1940. 1 1
  1941. 11 00002820
  1942. 17 73
  1943. 6 14
  1944. 5 1
  1945. 3 0
  1946. 8 14
  1947. 17 75
  1948. 0 806 "{2}" "{25}"
  1949. 13
  1950. 0 18 [X]
  1951. 13
  1952. 0 806 "{4}" "{25}"
  1953. 13
  1954. 0 18 [X]
  1955. 13
  1956. 18 0
  1957. 11 00002960
  1958. 17 76
  1959. 6 10
  1960. 8 6
  1961. 17 77
  1962. 10 00002973
  1963. 10 00002554
  1964. 17 80
  1965. 6 6
  1966. 6 14
  1967. 3 1
  1968. 8 6
  1969. 17 83
  1970. 29 26 getdist
  1971. 0 16 "{5}" ", " "{6}" "," "{2}"
  1972. 13
  1973. 8 26
  1974. 17 84
  1975. 0 296 0
  1976. 6 3
  1977. 15
  1978. 17 85
  1979. 9
  1980. 14 PeekTillClear
  1981. 29 0 hwnd
  1982. 29 1 PeekTillClear
  1983. 17 1
  1984. 29 2 msg
  1985. 29 3 result
  1986. 17 2
  1987. 5 0
  1988. 0 284 "user,PeekMessage,ANHHHH" &2 "{0}" 0 0 0
  1989. 13
  1990. 0 805 &3 [X]
  1991. 13
  1992. 18 1
  1993. 11 00000242
  1994. 17 3
  1995. 29 4 hflw
  1996. 0 789 "{4}={3}"
  1997. 17 4
  1998. 0 274 002
  1999. 10 00000078
  2000. 17 6
  2001. 0 3 "here"
  2002. 6 1
  2003. 15
  2004. 17 7
  2005. 9
  2006. 00025749
  2007.